<template>
    <div>
        <a-breadcrumb>
            <a-breadcrumb-item>后台管理demo</a-breadcrumb-item>
            <a-breadcrumb-item v-for="(item,i) in routeList">{{item.meta.title}}</a-breadcrumb-item>
        </a-breadcrumb>
    </div>
</template>

<script setup>
    import { useRoute } from 'vue-router';

    let route = useRoute()
    let routeList = route.matched
</script>